/*
 *  VortPointReference.cpp
 *  VortPan
 *
 *  Created by Gregor Veble on 6/22/10.
 *  Copyright 2010  . All rights reserved.
 *
 */

#include "VortPointReference.h"

using namespace VortPan;

VortPointReference::VortPointReference(VortPoint& rPointNew, int ArrayIndex) : pPoint(&rPointNew), Index(ArrayIndex) {
}

VortPointReference::~VortPointReference(){
}

bool VortPointReference::operator==(const VortPointReference& R) const{
	return Index==R.Index;
}

bool VortPointReference::operator<(const VortPointReference& R) const{
	return Index<R.Index;
}

bool VortPointReference::operator>(const VortPointReference& R) const{
	return Index>R.Index;
}
